<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>参与条件</title>
	<style type="text/css">
		*{margin: 0;padding: 0;}
		html{width: 100%;height: 100%;background: #e7ffe7;}
		#book{max-width: 750px;height: 100%;margin: 0 auto;}
		#book img{width: 100%;display: block;}
	</style>
</head>
<body>
	<div id="book">
		<img src="image/criteria.jpg" >
	</div>
</body>
<script type="text/javascript">
	var userid = getQueryString('userId'),
		oBook = document.getElementById('book');
	oBook.onclick = function(){
		window.location.href = 'http://ysmre.jin315.com/201806/index.html?userid='+userid;
	}
	function getQueryString(name) {
		var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
		var r = window.location.search.substr(1).match(reg);
		if ( r != null ){
			 return unescape(r[2]);
		}else{
			 return null;
		} 
	}
</script>
</html>